import { defHttp } from '/@/utils/http/axios';

/**
 * 
 * @param params
 */
export const getNvrList = (params) => {
    return defHttp.post({ url: '/device/deviceInfo/getNvrList', params });
};

/**
 * 
 * @param params
 */
export const getLocation = (id,params) => {
    return defHttp.post({ url: '/device/deviceInfo/getLocation?productId='+id, params });
};